package com.wufun.overseas.models.bean;

/**
 * Created by yangg on 2017/12/19.
 */

public class UpdateBean {

    /**
     * error : 0
     * data : {"code":200,"msg":"检查到最新版","version_code":"1.0","link":"https://play.google.com/store/apps/details?id=com.fastemulator.gbafree"}
     */

    private int error;
    private DataBean data;

    public int getError() {
        return error;
    }

    public void setError(int error) {
        this.error = error;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * code : 200
         * msg : 检查到最新版
         * version_code : 1.0
         * link : https://play.google.com/store/apps/details?id=com.fastemulator.gbafree
         */

        private String code;
        private String msg;
        private String version_code;
        private String link;

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }

        public String getVersion_code() {
            return version_code;
        }

        public void setVersion_code(String version_code) {
            this.version_code = version_code;
        }

        public String getLink() {
            return link;
        }

        public void setLink(String link) {
            this.link = link;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "code='" + code + '\'' +
                    ", msg='" + msg + '\'' +
                    ", version_code='" + version_code + '\'' +
                    ", link='" + link + '\'' +
                    '}';
        }
    }


    @Override
    public String toString() {
        return "UpdateBean{" +
                "error=" + error +
                ", data=" + data +
                '}';
    }
}
